#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#define pint_to_cup 2
#define cup_to_gusi 8
#define gusi_to_bigspoon 2
#define bigspoon_to_teaspoon 3
int main(void)
{
	float pint, cup, gusi, bigspoon, teaspoon;
	printf("输入杯数:");
	scanf("%f", &cup);
	pint = cup / pint_to_cup;
	gusi = cup * cup_to_gusi;
	bigspoon = cup * cup_to_gusi * gusi_to_bigspoon;
	teaspoon = cup * cup_to_gusi * gusi_to_bigspoon * bigspoon_to_teaspoon;
	printf("%.2f cup is %.2f pint\n", cup, pint);
	printf("%.2f cup is %.2f gusi\n", cup, gusi);
	printf("%.2f cup is %.2f bigspoon\n", cup, bigspoon);
	printf("%.2f cup is %.2f teaspoon\n", cup, teaspoon);
	return 0;
}